package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.TuitionDetail;
import trlygjj.tanruiliyigenjinjin.query.QueryObject;

import java.util.List;

public interface TuitionDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TuitionDetail record);

    TuitionDetail selectByPrimaryKey(Long id);

    List<TuitionDetail> selectAll();

    int updateByPrimaryKey(TuitionDetail record);

    int queryForCount(QueryObject qo);

    List<TuitionDetail> queryForList(QueryObject qo);

    /**
     * 改变缴费的审核情况
     * @param tuitionDetail
     */
    void updateTuitionDetailState(TuitionDetail tuitionDetail);
}